package com.rzjm.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 筒仓测距设备 记录表
 *
 * @author mr.zhou
 * @email zhouwei_nice@163.com
 * @date 2020-12-15 22:36:23
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("ck_device_range_record")
public class DeviceRangeRecord implements Serializable {
	private static final long serialVersionUID = 1L;

	//主键
	@TableId(value = "id",type = IdType.AUTO)
	private Integer id;
	private Integer	deviceId;
	private String orderNum;
	private String deviceNum;
	private String dataCode;
	private Integer nowAngle;
	/**
	 *  修改误差的角度
	 */
	private Integer virtualAngle;
	private Double nowHeight;
	private Double defaultHeight;

	/**
	 * 测量点到仓壁的距离
	 */
	private Double horizontalLength;

	/**
	 * 上一个点到当前点的距离差
	 */
	private Double stepLength;

	/**
	 * 步频下的体积
	 */
	private Double stepVolume;


	/**
	 *  单位 米  单位 m
	 */
	private Double nowBevel;
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date createTime;
	private String reqDataStr;
	private String respDataStr;

	/**
	 *  当前斜率
	 */
	private Double slope;

	/**
	 *  最后临近数据的斜率
	 */
	private Double slopeLastTen;

	/**
	 *  斜率对应的截距
	 */
	private Double intercept;

}
